All Questions
3 questions
2votes
4answers
188views
Make a class depends on its own ports instead of injecting dependency interfaces
I just have an idea about dependency management in Spring IOC environment that seems to be better than the typical approach, but I am not sure because I can't find any references or example out there ...
1vote
2answers
516views
Unique Identifiers for classes - Java with Spring
My use case requires me to implement multiple validators which implement the interface: public interface Validator { boolean validate(Object o); } Based on the business group of the Object o, a ...
-6votes
1answer
4kviews
Singleton: Is Singleton an Anti-Pattern [duplicate]
Was reading an interesting blog post on Singleton design pattern which is so widely used. If it's stupid or as in some quora posts, its an anti-pattern why is it so widely used even in frameworks. ...